package com.akaovi.exp.exp11.domain;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/11/29 11:40
 * @since 2022/11/29 11:40
 */
public class Student {
    /**
     * 学生编号
     */
    private int sid;
    /**
     * 姓名
     */
    private String sname;

    public Student() {
    }

    public Student(int sid, String sname) {
        this.sid = sid;
        this.sname = sname;
    }

    public int getSid() {
        return sid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                '}';
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
}
